/*
 * Copyright 2014 Semidata. All rights reserved.
 */
package com.semidata.rtd.engine.job;

/**
 * @author shewei@semidata.com, She Wei
 * 
 */
public interface Task {

	public void run() throws Exception;
	
	public long getTimeout();

	public void beforeExecution();

	public void afterExecution(Exception cause);
	
	public Exception getException();

}
